// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import './https'

import {
  Button,
  Card,
  Link,
  Divider,
  Tag,
  Collapse,
  CollapseItem,
  Input,
  RadioGroup,
  RadioButton,
  Message,
  Popover
} from 'element-ui'

import store from './store/index'

Vue.use(Button).use(Card).use(Link).use(Divider).use(Tag).use(Collapse).use(CollapseItem).use(Input).use(RadioGroup).use(RadioButton).use(Popover)

Vue.config.productionTip = false

Vue.prototype.$message = Message

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>',
  store
})
